using System;
using System.Collections.Generic;
using System.Text;

namespace Pampa.Grid.Exceptions
{
    public class MissingActionParameterException : Exception
    {
        private string field;

        public MissingActionParameterException () : base() { }
        public MissingActionParameterException(string field) : base() 
        {
            this.field = field;
        }

        public override string Message
        {
            get
            {
                string message = "Unknown field '" + this.field + "' is used by an action.";
                return message;
            }
        }
    }
}
